export class LayerInfo {
  private _ucValue:number;

  get UcValue():number {
    return this._ucValue;
  }
  set UcValue(value:number) {
    this._ucValue = value;
    this.UcValueCount = 0;
  }

  UcValueCount:number = 0;




public  checkUcValueCount():boolean {
  this.UcValueCount--;
  return this.UcValueCount < 0;
}

  /**
   * clone
   * @returns
   */
public  clone():LayerInfo {
  let info = new LayerInfo();
  info.UcValueCount = this.UcValueCount;
  info._ucValue = this._ucValue;
  return info;
}

}